home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
windows
/
games
/
wmfread.arj
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1992-11-17
|
1KB
|
84 lines
##### Module Macro #####
NAME = wmfdcode
SRCS = $(NAME).c wmfmeta.c dlgproc.c wmfprint.c cmndlg.c
OBJS =
##### C7 Macro ######
C7 = 1
##### Library Macro #####
LIBS = libw mlibcew commdlg
MOD = -AM
##### Include Macro #####
INCLS = $(NAME).h
##### Resource Macro #####
RCFILES = $(NAME).rc
##### DEBUG Defined #####
DEBUG = 1
##### Build Option Macros #####
!if $(DEBUG)
DDEF = -DDEBUG
CLOPT = -Zid -Od
MOPT = -Zi
LOPT = /CO /LI /MAP
!else
DDEF =
CLOPT = -Os
LOPT =
!endif
##### General Macros #####
DEF =
##### Tool Macros #####
ASM = masm -Mx $(MOPT) $(DDEF) $(DEF)
CC = cl -nologo -c $(MOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
LINK = link /NOD /NOE $(LOPT)
RC = rc $(DDEF) $(DEF)
HC = hc
##### Inference Rules #####
.c.obj:
$(CC) $*.c
.asm.obj:
$(ASM) $*.asm;
.rc.res:
$(RC) -r $*.rc
##### Main (default) Target #####
goal: $(NAME).exe
##### Dependents For Goal and Command Line #####
$(NAME).exe: $(SRCS:.c=.obj) $(NAME).def $(NAME).res
$(LINK) @<<
$(SRCS:.c=.obj) $(OBJS),
$(NAME).exe,
$(NAME).map,
$(LIBS),
$(NAME).def
<<
$(RC) -T $(NAME).res
!if $(DEBUG)
!if !$(C7)
cvpack -p $(NAME).exe
!endif
mapsym $(NAME).map
!endif
##### Dependents #####
$(SRCS:.c=.obj): $(INCLS)
$(NAME).res: $(INCLS) $(RCFILES)
##### Clean Directory #####
clean:
-del *.obj
-del *.res
-del *.map
-del *.sym